#ifndef _C_S_H
#define _C_S_H

#define SERVER_PORT 8081
#define USER_NUM_MAX 32
#define NAME_LEN_MAX 16
#define PASSWD_LEN_MAX 8
#define MSG_LEN_MAX 1024

enum services {REG, LOG_IN, LOG_IN2, LOG_OUT, USER_LS, CHAT_TO, CHAT_TO_ALL};
enum log_in_errors {NAME_NOT_EXIST = -1, PASSWD_INCORRECT = -2};

#endif

